package sk.octopuss.archery.service;

import java.util.List;
import java.util.Map;

import sk.octopuss.archery.domain.Category;

public interface CategoryService extends GenericService<Category> {
	Category findByName(String name);

	List<Category> findAllByName(String name);
	Map<Category,List<String>> getAllTreePaths();
	List<String> getTreePath(Category category);
	List<Category> getParentCategoriesFromTop(Category category);
	List<Category> getParentCategories(Category category);
}
